package com.allo2o.common.mapper;

import com.allo2o.common.domain.SysUserDO;
import org.springframework.stereotype.Repository;

@Repository
public interface SysUserDOMapper {
    int deleteByPrimaryKey(Long userId);

    int insert(SysUserDO record);

    int insertSelective(SysUserDO record);

    SysUserDO selectByPrimaryKey(Long userId);

    int updateByPrimaryKeySelective(SysUserDO record);

    int updateByPrimaryKey(SysUserDO record);
    
    SysUserDO login(SysUserDO sysUser);
}